package com.sixth.mapper;

import com.sixth.bean.MarketPermissionModule;
import com.sixth.bean.MarketPermissionModuleExample;
import com.sixth.bean.vo.SystemPermissions;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MarketPermissionModuleMapper {
    long countByExample(MarketPermissionModuleExample example);

    int deleteByExample(MarketPermissionModuleExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketPermissionModule record);

    int insertSelective(MarketPermissionModule record);

    List<MarketPermissionModule> selectByExample(MarketPermissionModuleExample example);

    MarketPermissionModule selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketPermissionModule record, @Param("example") MarketPermissionModuleExample example);

    int updateByExample(@Param("record") MarketPermissionModule record, @Param("example") MarketPermissionModuleExample example);

    int updateByPrimaryKeySelective(MarketPermissionModule record);

    int updateByPrimaryKey(MarketPermissionModule record);

    List<SystemPermissions> selectAllByType();

}
